From d3b4b80b9809a588450045e69b32b8db9c9a4ec0 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 11 Nov 2002 11:44:05 +0000 Subject: [PATCH] (dired-show-file-type): Format filename with "%s" to escape any format-like sequences it could contain. --- lisp/dired-aux.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index c20888f7da1..09ad9f9a677 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -2033,7 +2033,7 @@ true then the type of the file linked to by FILE is printed instead." (call-process "file" nil t t "--" file)) (when (bolp) (backward-delete-char 1)) - (message (buffer-string)))) + (message "%s" (buffer-string)))) (provide 'dired-aux) -- 2.30.2